package cn.zbh.pet.domain;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class PetType {

    private Long id;
    private String name;
    private String description;
    private String dirPath;
    private Long pid;
    @JsonInclude(JsonInclude.Include.NON_EMPTY)//部门树没有最后一集就不显示
    List<PetType> children=new ArrayList<>();
}
